-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: update gateway for v3 #318
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
sdk/src/gateway.ts
Outdated
export type GatewayParams = { | ||
fromChain: 'Bitcoin', // Source chain | ||
fromToken: 'BTC', // Source token | ||
fromUserAddress: EvmAddress, // Source chain wallet address |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a BitcoinAddress
, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or long-term, an enum of one or the other
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now this is a copy of the Swing params, we won't do anything with it really
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. As long as it's not going through validation or being included in the hash I suppose it doesn't matter.
433875e
to
fb8d901
Compare
fb8d901
to
6ba787f
Compare
Signed-off-by: Gregory Hill <[email protected]>
6ba787f
to
0cab90e
Compare
Signed-off-by: Gregory Hill <[email protected]>
Signed-off-by: Gregory Hill <[email protected]>
Signed-off-by: Gregory Hill <[email protected]>
Closes #314
Example docs:
Install the SDK:
Create a client:
Get a quote:
Create and update order: